
const confirm = (message, okfun) => {
    uni.showModal({
        title: "操作确认",
        content: message,
        success: function (res) {
            if (res.confirm) {
                okfun();
            }
        },
    });
};
export default confirm;